extends Node


# Declare member variables here. Examples:
# var a = 2
# var b = "text"


# Called when the node enters the scene tree for the first time.
func _ready():
	var fn=funcref($n,'fn')
	fn.call_func()
	print(fn.is_valid())
	$n.free()
	print(fn.is_valid())
	pass # Replace with function body.

